package com.cube.truthseer.controller;


import com.cube.truthseer.common.entity.vo.ResultMessage;

import com.cube.truthseer.service.IBucketService;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;

@Slf4j
@RestController
@RequiredArgsConstructor
@RequestMapping("/bucket")
public class BucketController {
    private final IBucketService bucketService;

    @ApiOperation("获取bucket详情信息接口")
    @GetMapping("/queryBucketDetail")
    public ResultMessage<Object> queryBucketDetail(){
        return bucketService.queryBucketDetail();
    }
}
